.relations_body {
  margin: 20rpx;
  padding: 10rpx;

  .list {
    display: flex;
    flex-wrap: wrap;

    .relations_item {
      width: 185rpx;
      height: 280rpx;
      text-align: center;
      margin: 22rpx;
      border-radius: 10rpx;
      background-color: white;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;

      .brotherBg {
        background-image: url(https://img0.baidu.com/it/u=4163147822,428913573&fm=253&fmt=auto&app=120&f=JPEG?w=607&h=405);
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
      }

      .loversBg {
        background-image: url(https://img1.baidu.com/it/u=4242933861,2017557286&fm=253&fmt=auto&app=138&f=JPEG?w=231&h=500);
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;

      }

      .sisterBg {
        background-image: url(https://img2.baidu.com/it/u=81003122,3426718081&fm=253&fmt=auto&app=138&f=JPG?w=400&h=711);
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;

      }



      .top {
        width: 100%;
        flex: 1.5;


        .relation_text {
          font-size: 40rpx;
          margin: 5rpx;
        }

        .avatar {
          width: 70rpx;
          height: 70rpx;
          margin: 5rpx auto;


          image {
            width: 100%;
            height: 100%;
            border-radius: 50%;
          }
        }

        .user_name {
          margin-top: 10rpx;
          font-weight: bold;
          font-size: 30rpx;
          white-space: nowrap;
          overflow: hidden;
          text-overflow: ellipsis;
        }
      }

      .bottom {
        flex: 0.5;
        font-size: 20rpx;

        .days {
          font-size: 30rpx;
        }
      }

    }
  }
}

.form {
  height: 330rpx;
  margin: 25rpx;
  line-height: 165rpx;

  .button {
    margin: 50rpx 20rpx 50rpx 20rpx;
  }
}

.add_body {
  height: 100%;
  margin: 20rpx;

  .form {
    margin-top: 40rpx;

    .title {
      text-align: center;
      margin: 40rpx 0 40rpx 0;
    }
  }

  .button {
    display: flex;

    van-button {
      flex: 1;
      margin: 50rpx 20rpx 0 20rpx;
    }
  }
}